<?php
/**
 * 模型类
 * User: Administrator
 * Date: 2019/4/2
 * Time: 15:24
 */
namespace core\lib;
use core\lib\conf;
use core\lib\vendor\Medoo;
class model extends Medoo
{
    public function __construct()
    {
        $database = conf::all('database');
        try {
            parent::__construct($database);
        } catch (\PDOException $e) {
            var_dump($e->getMessage());
        }
    }
}